Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Fix embedded-erb in strings#59

Open
xurdedix wants to merge 2 commits intoatom:masterfrom
xurdedix:erb_in_string
Open

Fix embedded-erb in strings#59
xurdedix wants to merge 2 commits intoatom:masterfrom
xurdedix:erb_in_string

Conversation

@xurdedix
Copy link

Requirements

Description of the Change

Fix erb-embedded in strings like:
<div class="<%= var_class %>"></div>
of
$('#mydiv').html('<%= render :partial=>"mypartial" %>')

Alternate Designs

Benefits

Possible Drawbacks

Applicable Issues

Issue Highlight/snippets not working in *.js.erb strings #39

@xurdedix
Copy link
Author

I push some test for html.erb and js.erb for a easier review

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants